rotated substrate direction:
1 <-> 8
2 <-> 7
3 <-> 6
4 <-> 5